<template>
	<view class="w-full h-full flex-column">
		<NavBar title="隐私协议" />
		<view class="flex-1 detail-box" v-html="privacyPolicy.content">
			{{privacyPolicy.content}}
		</view>
	</view>
</template>

<script>
	import { articleInfo } from '@/apis/base.js'
	export default {
		data () {
			return{
				privacyPolicy: {}
			}
		},
		onLoad () {
			this.init()
		},
		methods: {
			async init () {
				const res = await articleInfo({type: 1})
				this.privacyPolicy = res.rows[0]
				console.log('res',this.privacyPolicy)
			}
		}
		
	}
</script>

<style lang="scss" scoped>
	.detail-box{
		padding: 30rpx;
		font-family: PingFang SC;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 45rpx;
		color: #222222;
	}
</style>